package com.ins1st.plus;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.ins1st.plus.config.MybatisPlusCfg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication
@EnableDubbo
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = MybatisPlusCfg.class))
public class Ins1stWebApplication {

    private static Logger logger = LoggerFactory.getLogger(Ins1stWebApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(Ins1stWebApplication.class, args);
        System.out.println("ins1st-plus web启动成功......");
    }
}
